package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 道闸设备对象 zhwy_device
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
//
public class ZhwyDevice extends BaseEntity
{
//
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 设备名 */
    @Excel(name = "设备名")
    private String name;

    /** 停车场 */
    @Excel(name = "停车场")
    private Long parkId;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 方向 */
    @Excel(name = "方向")
    private Long direction;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barCode;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParkId(Long parkId) 
    {
        this.parkId = parkId;
    }

    public Long getParkId() 
    {
        return parkId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setDirection(Long direction) 
    {
        this.direction = direction;
    }

    public Long getDirection() 
    {
        return direction;
    }
    public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parkId", getParkId())
            .append("type", getType())
            .append("direction", getDirection())
            .append("barCode", getBarCode())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("state", getState())
            .toString();
    }
}
